I am writing a DXL script where I need to determine if an OLE object is displayed as editable information or an icon. I can determine this manually from Edit>OLE Object Properties>View so the information must be available. However, I have been unable to find a DXL command that provides this information. Is an undocumented command available? |
Re: How can I determine if an OLE object is iconized using DXL?
I don't know and don't see one in the doors.exe file.
EmbeddedOleObject eoo
RichText rt
string Text, OLE
int iWidth, iHeight
Text = richTextWithOle((current Object)."Object Text")
for rt in Text do
{ if (rt.isOle)
{ eoo = rt.getEmbeddedOle
print (string getOleWidthHeight(eoo,iWidth,iHeight))
print "************* Ole:\t" iWidth "\t" iHeight "\n"
OLE = oleRtf(eoo)
print (length(OLE)) "\t" (OLE[0:200]) "\n"
}
}
************* Ole: 60 47
7731 {\pict\wmetafile8\picwgoal900\pichgoal705
0100090000035107000001002106000000000400000003010800050000000b0200000000050000
000c024b00600005000000090200000000050000000102ffffff00a5000000410bc6008800200
************* Ole: 552 258
885611 {\pict\wmetafile8\picwgoal8280\pichgoal3875
010009000003304b030000001a4b03000000050000000b0200000000050000000c02de1a25391a
4b0300430f2000cc0000000401290200000000de1a253900000000280000002902000004010
|
Re: How can I determine if an OLE object is iconized using DXL? - Michael |